package com.beone.smart.smartBeauty.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 人体信息配置
 */
@Data
@TableName(value = "person_info_config")
public class PersonInfoConfigDO {
    //记录的主键id
    private String id;
    //用户id
    private String userId;
    //昵称
    private String nickName;
    //年龄
    private Integer age;
    //头像地址
    private String headImageUrl;
    //当前体重
    private Double currentWeight;
    //预期体重
    private Double expectWeight;
    //身高
    private Double height;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime configDate;
}
